<div class="ruixing">
    <div v-for="(i,index) in nav" v-show="isShow(index)">
        <div v-if="index!==1">{{i}}</div>
        <div v-else>  
            <Headers />
            <Content />
         </div>
    </div>

    <div class="nav">
        <span v-for="(i,index) in nav" :class="defalutIndex===index?'purple':''" @click="tab(index)">
            {{i}}
        </span>
    </div>
</div> 